package com.timebank.score;

import com.timebank.common.security.annotation.EnableCustomConfig;
import com.timebank.common.security.annotation.EnableTimeBankFeignClients;
import com.timebank.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 * 积分商城
 * @author shiliuyinzhen
 */
@EnableCaching //开启缓存注解功能
@EnableCustomConfig
@EnableCustomSwagger2
@EnableTimeBankFeignClients
@SpringBootApplication
@ComponentScan("com.timebank.**")
public class TimeBankScoreApplication {
    public static void main(String[] args) {
        SpringApplication.run(TimeBankScoreApplication.class,args);
        System.out.println("积分商城模块 启动~");
    }
}
